package org.wenhuayuan.uilibrary.refresh;

import android.util.Log;
import android.view.GestureDetector;
import android.view.MotionEvent;

public class HiGestureDetectorListener implements GestureDetector.OnGestureListener {


    @Override
    public boolean onDown(MotionEvent e) {
        Log.i("GestureDetector", "=== onDown ===");
        return false;
    }

    @Override
    public void onShowPress(MotionEvent e) {
        Log.i("GestureDetector", "=== onShowPress ===");
    }

    @Override
    public boolean onSingleTapUp(MotionEvent e) {
        Log.i("GestureDetector", "=== onSingleTapUp ===");
        return false;
    }

    @Override
    public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
        Log.i("GestureDetector", "=== onScroll ===");
        return false;
    }

    @Override
    public void onLongPress(MotionEvent e) {
        Log.i("GestureDetector", "=== onLongPress ===");
    }

    @Override
    public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
        Log.i("GestureDetector", "=== onFling ===");
        return false;
    }
}
